package com.hewanglan.threadpool.mdcable;


import com.hewanglan.trace.TraceIdContext;

public class MdcAbstract {

    protected String traceId;
    protected void beforeRun() {
        TraceIdContext.setTraceId(traceId);
    }

    protected void afterRun() {
        TraceIdContext.clearTraceId();
    }
}
